package com.example.db;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: wlai
 * Date: 12/18/12
 * Time: 6:39 PM
 * To change this template use File | Settings | File Templates.
 */
public class RecordEntry {
    public static final String TABLE_NAME = "record";
    public static final String COLUMN_NAME_RECORD_ID = "_id";
    public static final String COLUMN_NAME_RECORD_TIME = "record_time";
    public static final String COLUMN_NAME_RECORD_MONEY = "money";
    public static final String COLUMN_NAME_RECORD_CATEGORY = "CATEGORY_ID";


    private long id;
    private float money;
    private Date recordTime;
    private String categoryId;
    private String categoryName;


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
}
